/**
 * @file app_serial.h
 * @author your name (you@domain.com)
 * @brief  主控板上的串口模块，用于和板子上外接的的蓝牙芯片（也有串口模块）通讯的
 * @version 0.1
 * @date 2025-04-12
 *
 * @copyright Copyright (c) 2025
 *
 */

#ifndef __APP_SERIAL_H__
#define __APP_SERIAL_H__

#define BAUDRATE B9600
#define BLOCKING 1
#define NONBLOCKING 0

returnType_t app_serial_init(Device *device);

returnType_t app_serial_isblock(Device *device, int isblock);

#endif /* __APP_SERIAL_H__ */